projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df81332
)
rockchip: evb-rk3328: enable boot on regulator
author
Kever Yang
<
[email protected]
>
Thu, 8 Jun 2017 07:32:05 +0000
(15:32 +0800)
committer
Philipp Tomsich
<
[email protected]
>
Tue, 11 Jul 2017 13:23:38 +0000
(15:23 +0200)
Enable all the boot-on regulator in default.
Signed-off-by: Kever Yang <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
Acked-by: Philipp Tomsich <
[email protected]
>
Reviewed-by: Philipp Tomsich <
[email protected]
>
board/rockchip/evb_rk3328/evb-rk3328.c
patch
|
blob
|
history
diff --git
a/board/rockchip/evb_rk3328/evb-rk3328.c
b/board/rockchip/evb_rk3328/evb-rk3328.c
index 4d2a8c73bd5f29752f079e5b481517606e883e3c..99a73dacf168b63f22ddb1c8c10e95b7a79c3a32 100644
(file)
--- a/
board/rockchip/evb_rk3328/evb-rk3328.c
+++ b/
board/rockchip/evb_rk3328/evb-rk3328.c
@@
-7,13
+7,20
@@
#include <common.h>
#include <asm/armv8/mmu.h>
#include <dwc3-uboot.h>
+#include <power/regulator.h>
#include <usb.h>
DECLARE_GLOBAL_DATA_PTR;
int board_init(void)
{
- return 0;
+ int ret;
+
+ ret = regulators_enable_boot_on(false);
+ if (ret)
+ debug("%s: Cannot enable boot on regulator\n", __func__);
+
+ return ret;
}
#if defined(CONFIG_USB_GADGET) && defined(CONFIG_USB_GADGET_DWC2_OTG)